<?php /* Smarty version 2.6.18, created on 2017-09-23 15:03:31
         compiled from check.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</head><body>
<script id=myjs language="javascript">var js=1;var sss='check';</script>
<div class="xbody1" style="width:1155px;">
 <table class="tinfo wd100">
   <tr>
      <th colspan="2">自动开关盘</th><th colspan="2">自动补货</th><th colspan="2">自动开奖结算</th><th rowspan="3"><input type="button" class="edit btnf" value="修改" /></th>
   </tr>
   <tr>
      <th>开关</th><th>时间</th><th>开关</th><th>时间</th><th>开关</th><th>时间</th>
   </tr>
   <tr>
      <td><input type="checkbox" class="autoopenpan" <?php if ($this->_tpl_vars['autoopenpan'] == 1): ?>checked<?php endif; ?> /></td><td><label><?php echo $this->_tpl_vars['autoopenpantime']; ?>
</label></td>
      <td><input type="checkbox" class="autofly" <?php if ($this->_tpl_vars['autofly'] == 1): ?>checked<?php endif; ?> /></td><td><label><?php echo $this->_tpl_vars['autoflytime']; ?>
</label></td>
      <td><input type="checkbox" class="kjjs" <?php if ($this->_tpl_vars['kjjs'] == 1): ?>checked<?php endif; ?> /></td><td><label><?php echo $this->_tpl_vars['kjjstime']; ?>
</label></td>

   </tr>
 </table>
 <BR />
  <table class="tinfo wd100">
   <tr>
   <th>注单表UPDATE</th><th>注单表DELETE</th><th>PLAY表UPDATE</th><th>操盘员功能开放</th>
   </tr>
   <tr><td>
   <?php if ($this->_tpl_vars['updatelib'] == 1): ?>
   <label>存在</label><input type="button" value="删除" class="tg" ac='del' name='ulib' />
   <?php else: ?>
    <label>不存在</label><input type="button" value="增加" class="tg"  ac='add' name='ulib' />
   <?php endif; ?>
   </td><td>
      <?php if ($this->_tpl_vars['deletelib'] == 1): ?>
   <label>存在</label><input type="button" value="删除" class="tg"  ac='del' name='dlib' />
   <?php else: ?>
    <label>不存在</label><input type="button" value="增加" class="tg" ac='add' name='dlib'  />
   <?php endif; ?>
   </td>
   <td>
      <?php if ($this->_tpl_vars['updateplay'] == 1): ?>
   <label>存在</label><input type="button" value="删除" class="tg"  ac='del' name='uplay' />
   <?php else: ?>
    <label>不存在</label><input type="button" value="增加" class="tg" ac='add' name='uplay'  />
   <?php endif; ?>
   </td>
   <td>
     <input type="button" value="更新功能"  class="upgn"  /><BR />
     <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['xpage']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<input type="checkbox" class="<?php echo $this->_tpl_vars['xpage'][$this->_sections['i']['index']]['xpage']; ?>
" <?php if ($this->_tpl_vars['xpage'][$this->_sections['i']['index']]['ifhide'] == 0): ?>checked<?php endif; ?>  /><?php echo $this->_tpl_vars['xpage'][$this->_sections['i']['index']]['pagename']; ?>
<BR />
    <?php endfor; endif; ?>
   </td>
   </tr>
   </table>
   
    <BR />
  <table class="tinfo wd100">
   <tr>
   <th>err表</th><th>注单MRG</th><th>MRG表</th>
   </tr>
    <tr><td>
    <LABEL><?php echo $this->_tpl_vars['liberrnum']; ?>
</LABEL>
    <input type="button" value="清空" class="qkerr" />
   </td>
   <td>
   <?php if ($this->_tpl_vars['bigdata'] == 1): ?>
      <label>存在</label><input type="button" value="恢复" class="mrg"  ac='hf'  />
   <?php else: ?>
      <label>不存在</label><input type="button" value="生成" class="mrg"  ac='sc'  />
   <?php endif; ?>
   </td>
   <td style="text-align:left;padding-left:10px;">
   <?php if ($this->_tpl_vars['bigdata'] == 1): ?><input type="button" value="重新整理" class="mrg"  ac='resc'  /><?php endif; ?><input type="button" value="删除选中" class="mrg"  ac='scxz'  />
   <BR />
   <input type="checkbox" class="clickall" />全选<BR />
   <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['mrg']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
       <input class='mrgs' value="<?php echo $this->_tpl_vars['mrg'][$this->_sections['i']['index']]['tb']; ?>
" <?php if (( $this->_tpl_vars['mrg'][$this->_sections['i']['index']]['in'] == 1 & $this->_tpl_vars['bigdata'] == 1 )): ?>checked<?php endif; ?> type="checkbox" />&nbsp;<?php echo $this->_tpl_vars['mrg'][$this->_sections['i']['index']]['tb']; ?>
(<LABEL><?php echo $this->_tpl_vars['mrg'][$this->_sections['i']['index']]['num']; ?>
</LABEL>)<BR/>
   <?php endfor; endif; ?>
   </td>
   </table>
</div>
<div id='test'></div>
</body>
</html>